﻿using SqlSugar;


namespace Jst.Core
{
    /// <summary>
    /// 构造函数配置
    /// 可扩展：多库
    /// </summary>
    public class DbManager
    {
        private readonly SqlSugarScope _defaultDb;

        public DbManager(SqlSugarScope DefaultDb)
        {
            _defaultDb = DefaultDb;
        }
        /// <summary>
        /// 默认库
        /// </summary>
        public SqlSugarScope DefaultDb => _defaultDb;
    }
}
